package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 广告位表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_adv")
@TableAlias("adv")
@ApiModel(value="BusAdv对象", description="广告位表")
public class BusAdv extends AbstractAllEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "advId", type = IdType.ASSIGN_ID)
    private Long advId;

    @ApiModelProperty(value = "广告名称")
    private String advName;

    @ApiModelProperty(value = "图片")
    private String advImg;

    @ApiModelProperty(value = "发布状态 0:未发布 1:已发布")
    private Integer advStatus;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "首页广告1,商城广告2,3弹屏广告")
    private String advType;

    private String goodsId;

    private Integer sort;

    @ApiModelProperty(value = "跳转方式(1:外部链接,2:文本跳转,3内部跳转)")
    private Integer jumpType;

    private Integer isCanBuy;

    private Long weChatId;

}
